home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / pc / files / t_unix / j109lxa4.tar / mailutil.h < prev    next >
C/C++ Source or Header  |  1994-06-04  |  980b  |  44 lines

  1. #ifndef _MAILUTIL_H
  2. #define _MAILUTIL_H
  3.  
  4. #include <stdio.h>
  5.  
  6. /* Header types */
  7. #define    NOHEADER     -1
  8. #define APPROVED    0
  9. #define    FROM        1
  10. #define    TO        2
  11. #define    DATE        3
  12. #define    MSGID        4
  13. #define    SUBJECT        5
  14. #define    RECEIVED    6
  15. #define    SENDER        7
  16. #define    REPLYTO        8
  17. #define STATUS        9
  18. #define BBSTYPE        10
  19. #define XFORWARD    11
  20. #define CC        12
  21. #define RRECEIPT    13
  22. #define APPARTO        14
  23. #define ERRORSTO    15
  24. #define ORGANIZATION    16
  25. #define NEWSGROUPS  17
  26. #define PATH        18
  27. #define XBBSHOLD    19
  28. #define UNKNOWN     20
  29.  
  30. extern char *Hdrs[];
  31.  
  32. int recvmail __ARGS((int s, char *buf, unsigned len, FILE *fp, int trace));
  33. int copymail __ARGS((char *spoolarea, char *filename,
  34.             char *buf, unsigned len, FILE *fp, int trace));
  35.  
  36. int mlock __ARGS((char *dir,char *id));
  37. int rmlock __ARGS((char *dir,char *id));
  38. char *getname __ARGS((char *cp));
  39. char *getaddress __ARGS((char *string,int cont));
  40. int htype __ARGS((char *s));
  41. char *rewrite_address __ARGS((char *addr));
  42.  
  43. #endif  /* _MAILUTIL_H */
  44.